## ## $VER: OPUS.FILE_ID.diz shit.txt 1.0 ## Again I come to file_id.diz thingies :-) Start your configer for dopus, and go to filetypes. Pick (for example) lha.archive. In the event list choose USER2, and enter the following: AmigaDOS C:LHA x {fu} FILE_ID.DIZ ram: >nil: AmigaDOS C:ECHO >>ram:FILE_ID.DIZ "" AmigaDOS C:TYPE ram:FILE_ID.DIZ AmigaDOS C:DELETE ram:FILE_ID.DIZ >nil: Tick OUTPUT TO FILE as flag, and set CLOSE DELAY to -1. Now make a button labeled ID.DIZ. Enter Command User2 as an entry, and set DO ALL FILES flag. Close delay should be -1... Return to opus, pick an LHA archive (with a file_id.diz in it), click on show id, and voila... There it is... MAGIC ! Return to filetypes, pick (example) DMS archive, and enter in EVENT USER 2 this: AmigaDOS C:DMSDESCRIPT x ram:FILE_ID {fu} >nil: AmigaDOS C:ECHO >>ram:FILE_ID "" AmigaDOS C:TYPE ram:FILE_ID AmigaDOS C:DELETE ram:FILE_ID >nil: set OUTPUT TO FILE as a flag, en close delay to -1. Back to OPUS, pick a dms.archive, click on button created with LHA (ID.diz ?), and again...VOILA ! There is your file-id... You can edit USER2 for any archive that supports the unpacking of a specific name (see their doc-files), and read file_id.diz on that file with the same button !! AS LONG AS YOU ADD THE CORRECT COMMAND TO USER2 IN THE FILETYPES ! Let me know what you think, and if you use it (and why not...?). ······························································· .#.####..............................................####.#..#. ##.#..#........._______....______......_______.......#..#.#..#. .#.####......../ /....| \.....\ .......####.####. .#....#......./______/.....|______|.....\ .........#....#. .#.####....../ /......| |......\ .....####....#. ............/....../.......|_____/........\_______............. ............................................................... .............ABC, THE CUTEST LAMER IN THE BUSINESS............. . . . Niels van \X/illigenburg . .______ Millingenhof 123 ______. / \ NL-1106 KH AMSTERDAM / \ | O O | Netherlands | O O | | /\ | Europe | /\ | | \__/ | +31 (0)20-6979932 | \__/ | .\____/ FIDO -> 2:280/464.17 \____/. . -> niels@aobh.xs4all.nl . ·······························································